package Day001_继承_抽象类.zuoye02;

public abstract class person {
    private String name;
    private int age;
    private String xingbie;

    public person() {
    }

    public person(String name, int age, String xingbie) {
        this.name = name;
        this.age = age;
        this.xingbie = xingbie;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getXingbie() {
        return xingbie;
    }

    public void setXingbie(String xingbie) {
        this.xingbie = xingbie;
    }

    public abstract void eat();
}
